using Rsd.Dudu;
using Rsd.Dudu.ModelProvider;
using Rsd.Dudu.ORM;
using Rsd.Faith.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Rsd.Faith.Models
{
    [Table("biz_资金退伙申请表", "biz__zi_jin_tui_huo_shen_qing_biao", "id")]
    [Serializable]
    public class UsingZiJinTuiHuoShenQingBiaoModel : Rsd.Faith.Core.ModelBase
    {

        /// <summary>
        /// 申请单号
        /// </summary>
        [TableIndex(TableIndexType.Unique, TableIndexUsing.BTree)]
        [StringType("shen_qing_dan_hao", "申请单号", 20, 20)]
        [DisplayName("申请单号")]
        public string ShenQingDanHao { get; set; }

        /// <summary>
        /// 所属期
        /// </summary>
        [StringType("suo_shu_qi", "所属期", 22, 20)]
        [DisplayName("所属期")]
        public string SuoShuQi { get; set; }

        /// <summary>
        /// 申请日期
        /// </summary>
        [DateTimeType("shen_qing_ri_qi", "申请日期", 24)]
        [DisplayName("申请日期")]
        public DateTime ShenQingRiQi { get; set; }

        /// <summary>
        /// 申请单位
        /// </summary>
        [StringType("shen_qing_dan_wei", "申请单位", 26, 100)]
        [DisplayName("申请单位")]
        public string ShenQingDanWei { get; set; }

        /// <summary>
        /// 申请单位法人代表
        /// </summary>
        [StringType("shen_qing_dan_wei_fa_ren_dai_biao", "申请单位法人代表", 28, 50)]
        [DisplayName("申请单位法人代表")]
        public string ShenQingDanWeiFaRenDaiBiao { get; set; }

        /// <summary>
        /// 小区编号
        /// </summary>
        [TableIndex(TableIndexType.Normal, TableIndexUsing.BTree)]
        [StringType("xiao_qu_bian_hao", "小区编号", 30, 20)]
        [DisplayName("小区编号")]
        public string XiaoQuBianHao { get; set; }

        /// <summary>
        /// 幢号
        /// </summary>
        [StringType("chuang_hao", "幢号", 32, 120)]
        [DisplayName("幢号")]
        public string ChuangHao { get; set; }

        /// <summary>
        /// 退伙金额
        /// </summary>
        [NumericType("tui_huo_jin_e", "退伙金额", 36, 20, 2)]
        [DisplayName("退伙金额")]
        public decimal TuiHuoJinE { get; set; }

        /// <summary>
        /// 退伙金额大写
        /// </summary>
        [StringType("tui_huo_jin_e_da_xie", "退伙金额大写", 38, 150)]
        [DisplayName("退伙金额大写")]
        public string TuiHuoJinEDaXie { get; set; }
         
        /// <summary>
        /// 退伙说明
        /// </summary>
        [StringType("tui_huo_shuo_ming", "退伙说明", 40, 300)]
        [DisplayName("退伙说明")]
        public string TuiHuoShuoMing { get; set; }

        /// <summary>
        /// 收款银行
        /// </summary>
        [StringType("shou_kuan_yin_hang", "收款银行", 42, 250)]
        [DisplayName("收款银行")]
        public string ShouKuanYinHang { get; set; }

        /// <summary>
        /// 收款银行账号
        /// </summary>
        [StringType("shou_kuan_yin_hang_zhang_hao", "收款银行账号", 44, 50)]
        [DisplayName("收款银行账号")]
        public string ShouKuanYinHangZhangHao { get; set; }

        /// <summary>
        /// 划拨编号
        /// </summary>
        [StringType("hua_bo_bian_hao", "划拨编号", 46, 20)]
        [DisplayName("划拨编号")]
        public string HuaBoBianHao { get; set; }

        /// <summary>
        /// 付款银行
        /// </summary>
        [StringType("fu_kuan_yin_hang", "付款银行", 48, 250)]
        [DisplayName("付款银行")]
        public string FuKuanYinHang { get; set; }

        /// <summary>
        /// 付款银行账号
        /// </summary>
        [StringType("fu_kuan_yin_hang_zhang_hao", "付款银行账号", 50, 50)]
        [DisplayName("付款银行账号")]
        public string FuKuanYinHangZhangHao { get; set; }

        /// <summary>
        /// 拨付后专户余额
        /// </summary>
        [NumericType("bo_fu_hou_yu_e", "拨付余额", 52, 20, 2)]
        [DisplayName("拨付后余额")]
        public decimal BoFuHouYuE { get; set; }

        /// <summary>
        /// 拨付方式
        /// </summary>
        [StringType("bo_fu_fang_shi", "拨付方式", 54, 50)]
        [DisplayName("拨付方式")]
        public BoFuFangShi BoFuFangShi { get; set; }
         
        /// <summary>
        /// 划拨状态
        /// </summary>
        [StringType("hua_bo_zhuang_tai", "划拨状态", 58, 50)]
        [DisplayName("划拨状态")]
        public ZiJinHuaBoZhuangTai ZhuangTai { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public UsingZiJinTuiHuoShenQingBiaoModel()
        { }

    }
}
